<?php
/*
 * This class is used for as Model for Blog table 
 */
class Model_Contact extends Model_Base {
    protected $_name = "tbl_contact";
    protected $_primaryKey = "ctc_id";
	
	/*public function fetchContact($where = "", $limit = "", $offset = "0", $order = "ctc_id", $sort = "ASC") {
        $select = $this->select()
                ->from(array("contact" => "tbl_contact"));
                //->where("tag_status != 2");
        if ($where != "") {
            $select->where($where);
        }
        if ($limit != "") {
            $select->limit($limit, $offset);
        }

        $select->order($order . " " . $sort);
        #echo $select; exit;
        $data = parent::fetchAll($select);
        if (!empty($data)) {
            return $data->toArray();
        } else {
            return array();
        }
    }*/
}
?>
